/**
 * Copyright &copy; 2015-2020 <a href="http://www.easyhis.com/">easyhis</a> All rights reserved.
 */
package com.easy.dfcapi.entity;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

import com.easy.core.persistence.DataEntity;
import com.easy.common.utils.excel.annotation.ExcelField;

/**
 * 支付记录Entity
 * @author waylen chi
 * @version 2018-01-17
 */
public class ApiPayLogbk extends DataEntity<ApiPayLogbk> {
	
	private static final long serialVersionUID = 1L;
	private Integer logId;		// 支付记录ID，自增
	private String orderType;		// 支付类型
	private BigDecimal orderAmnt;		// 支付金额
	private String tradeNo;		// 支付订单号
	private String isPaid;		// 是否已支付 0否，1是
	
	public ApiPayLogbk() {
		super();
	}

	//public ApiPayLogbk(String id){
	//	this.id = id;
	//}

	@NotNull(message="支付记录ID，自增不能为空")
	@ExcelField(title="支付记录ID，自增", align=2, sort=0)
	public Integer getLogId() {
		return logId;
	}

	public void setLogId(Integer logId) {
		this.logId = logId;
	}
	
	@ExcelField(title="支付类型", align=2, sort=1)
	public String getOrderType() {
		return orderType;
	}

	public void setOrderType(String orderType) {
		this.orderType = orderType;
	}
	
	@ExcelField(title="支付金额", align=2, sort=2)
	public BigDecimal getOrderAmnt() {
		return orderAmnt;
	}

	public void setOrderAmnt(BigDecimal orderAmnt) {
		this.orderAmnt = orderAmnt;
	}
	
	@ExcelField(title="支付订单号", align=2, sort=3)
	public String getTradeNo() {
		return tradeNo;
	}

	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo;
	}
	
	@ExcelField(title="是否已支付 0否，1是", align=2, sort=4)
	public String getIsPaid() {
		return isPaid;
	}

	public void setIsPaid(String isPaid) {
		this.isPaid = isPaid;
	}
	
}